from Page1 import Page1
from Page2 import Page2
from selenium import webdriver
import unittest,time
class Case(unittest.TestCase):
    def setUp(self):
        self.driver=webdriver.Edge()
        self.driver.maximize_window()
        time.sleep(2)
    def tearDown(self):
        time.sleep(2)
        self.driver.quit()
    def test_jiuxian_login(self):
        po=Page1(self.driver)
        po.jiuxian_login()

    def test_jiuxian_search(self):
        po=Page2(self.driver)
        po.jiuxian_search()


if __name__ == '__main__':
    unittest.main()
